approx Subroutine

public subroutine approx(x, y, n, f, m, b)

the data to be approximated.
number of points in the input data.
number of coefficients of decomposition over base functions :

found decomposition coefficients

Arguments

Type IntentOptional Attributes Name
real(kind=wp) :: x(n)
real(kind=wp) :: y(n)
integer :: n
real :: f
integer :: m
real(kind=wp) :: b(*)